package com.ruoyi.security.service;

import com.ruoyi.security.domain.AfDeviceCamera;

import java.util.List;

/**
 * 摄像头Service接口
 * 
 * @author cjie
 * @date 2022-07-13
 */
public interface IAfDeviceCameraService {
    /**
     * 查询摄像头
     * 
     * @param id 摄像头ID
     * @return 摄像头
     */
     AfDeviceCamera selectAfDeviceCameraById(String id);

    /**
     * 查询摄像头列表
     * 
     * @param afDeviceCamera 摄像头
     * @return 摄像头集合
     */
     List<AfDeviceCamera> selectAfDeviceCameraList(AfDeviceCamera afDeviceCamera);

    /**
     * 新增摄像头
     * 
     * @param afDeviceCamera 摄像头
     * @return 结果
     */
     int insertAfDeviceCamera(AfDeviceCamera afDeviceCamera);

    /**
     * 修改摄像头
     * 
     * @param afDeviceCamera 摄像头
     * @return 结果
     */
     int updateAfDeviceCamera(AfDeviceCamera afDeviceCamera);

    /**
     * 批量删除摄像头
     * 
     * @param ids 需要删除的摄像头ID
     * @return 结果
     */
     int deleteAfDeviceCameraByIds(String[] ids);

    /**
     * 删除摄像头信息
     * 
     * @param id 摄像头ID
     * @return 结果
     */
     int deleteAfDeviceCameraById(String id);

    int getOnlineList();

    String getAccessToken();
}
